package com.github.ghsea.cc.module;

import java.util.Date;
import java.util.concurrent.atomic.AtomicInteger;

public class AccessTimes {
	private String ip;

	// 访问次数
	private AtomicInteger times;

	// 在计算周期内的 第1次的访问时间
	private Date firstAccessTime;

	// 这一次的访问时间
	private Date thisAccessTime;

	private Integer durationType;

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public AtomicInteger getTimes() {
		return times;
	}

	public void setTimes(AtomicInteger times) {
		this.times = times;
	}

	public Date getFirstAccessTime() {
		return firstAccessTime;
	}

	public void setFirstAccessTime(Date firstAccessTime) {
		this.firstAccessTime = firstAccessTime;
	}

	public Integer getDurationType() {
		return durationType;
	}

	public void setDurationType(Integer durationType) {
		this.durationType = durationType;
	}

	public Date getThisAccessTime() {
		return thisAccessTime;
	}

	public void setThisAccessTime(Date thisAccessTime) {
		this.thisAccessTime = thisAccessTime;
	}

}
